package com.easy.util;

import lombok.Data;

@Data
public class Page {
    Integer current = 1;//页码
    private Integer limit = 10;//每页显示的条数
    private Integer start = 0;//开始的位置
    public Integer getStart() {
        return (current-1)*limit;
    }


    private Integer count;//表中数据总条数
    private Object data;// 数据
}
